package com.ideaaedi.zoo.diy.artifact.liteflow;

import com.ideaaedi.zoo.diy.artifact.liteflow.properties.ZoolLiteflowDIYGuideProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * liteflow 自动配置
 */
@Slf4j
@EnableConfigurationProperties(ZoolLiteflowDIYGuideProperties.class)
@ConditionalOnProperty(value = ZooLiteflowAutoConfiguration.ENABLE, havingValue = "true", matchIfMissing = true)
public class ZooLiteflowAutoConfiguration {
    
    public static final String ENABLE = "zoo.switch.artifact-liteflow.enable";

}